idf_component_register(INCLUDE_DIRS "include")

target_compile_options(${COMPONENT_LIB} INTERFACE -Wno-error=unused-but-set-parameter)

if (PREBUILT_DIRECTORY)
    file(REMOVE_RECURSE ${PREBUILT_DIRECTORY}/include/LuaBridge3)
    file(COPY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${PREBUILT_DIRECTORY}/include)
endif()